<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2022/6/29
 * Time: 9:50
 */

namespace app\api\model;


use think\Model;

class App extends Model
{
    public function appVersions(){
        //1 1
        //return $this->hasOne('AppVersion','app_id');

        //1 duo
        return $this->hasMany('AppVersion','app_id');
    }
}